<!--登录载体-->
<div data-am-widget="tabs" class="am-tabs am-tabs-d2 am-margin-0" data-am-tabs="{noSwipe: 1}">
    <div class="am-tabs-bd">
        {{if in_array('username', $home_user_login_type)}}
        <div data-tab-panel-0>
            <form class="am-form form-validation-username" method="post" action="{{:MyUrl('index/user/login')}}" request-type="ajax-fun" request-value="LoginBackHandle">
                <div class="inFlex mTop20 alignitemcenter ">
                    <div class="loginTitle pdLeft20">Iniciar sesión</div>
                    <div class="" style="flex: auto;margin-right: 20px;text-align: right;"><img src="{{:AttachmentPathViewHandle(MyC('home_site_logo'))}}"></div>
                </div>
                <div class="inFlex mTop20 alignitemcenter ">
                    <div class="pdBootom10 borderBottomLine" style="flex: auto;margin: 0px 20px;">
                        <i class="	glyphicon glyphicon-user fontSize16" style="width: 10%;vertical-align: middle;"></i>
                        <input type="text" name="accounts" class="logininput pdLeft10  inlineBlock" style="width: 80%;" placeholder="Nombre de Usuario" data-validation-message="Nombre de Usuario" required/>
                    </div>
                </div>
                <div class="inFlex mTop20 alignitemcenter ">
                    <div class="pdBootom10 borderBottomLine" style="flex: auto;margin: 0px 20px;">
<!--                        <img src="https://demo.mycodes.net/houtai/jiandanlogin/images/password.png" width="33" height="34">-->
                        <i class="	glyphicon glyphicon-cog fontSize16" style="width: 10%;vertical-align: middle;"></i>
                        <input type="password" name="pwd" class="logininput pdLeft10 inlineBlock" style="width: 80%;"  placeholder="Contraseña" autocomplete="off" pattern="{{:lang('common_regex_pwd')}}" data-validation-message="Formato criptográfico de 6 a 18 caracteres" required/>
                    </div>
                </div>
                {{if MyC('home_user_login_img_verify_state') eq 1}}
                <div class="inFlex mTop20 alignitemcenter ">
                    <div class="pdBootom10 borderBottomLine" style="flex: auto;margin: 0px 20px;">
                        <i class="	glyphicon glyphicon-cog fontSize16" style="width: 10%;vertical-align: middle;"></i>
                        <input type="text" name="verify" class="logininput pdLeft10  inlineBlock" style="width: 40%;" minlength="4" maxlength="4" placeholder="Código de Verificación" autocomplete="off" data-validation-message="Código de Verificación" required/>
                        <img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'user_login'])}}" class="mLeft20" id="form-verify-img" width="100" height="34" onClick="this.src=this.src+'#'+Math.random();">
<!--                        <a href="javascript:;" class="form-verify-tips" onClick="document.getElementById('form-verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'user_login'])}}#'+Math.random();">更换一张</a>-->
                    </div>
                </div>
                {{/if}}
                <div class="inFlex  alignitemcenter mTop20 text-center">
                    <div style="margin:0 auto;">
                        <input type="hidden" name="type" value="username" />
                        <button class="btn btn-primary wd130" data-am-loading="{loadingText: 'Inicie Sesión...'}">Inicie Sesión</button>
                        </button>

                    </div>
                    <!--<ul>-->
                        <!--<li style="font-size: 14px;color: #2565af"><a href="{{:MyUrl('index/user/regInfo')}}" >¿No tiene cueta?</a></li>-->
                    <!--</ul>-->

                </div>
            </form>
        </div>
        {{/if}}
    </div>
</div>